package com.scuec.demo.service;

import com.github.pagehelper.PageInfo;
import com.scuec.demo.entity.StudentInfo;

import java.util.List;


public interface StudentService {
    //pageNum：当前是第几页  pageSize：每一页多少条
    PageInfo<StudentInfo> findStudentPages(Integer pageNum, Integer  pageSize);

    public List<StudentInfo> getStudentInfo();

    public StudentInfo getStudentInfoById(Integer id);

    public int  deleteStudentInfoById(Integer id);

    int insertStudentInfo(StudentInfo studentInfo);

    int updateStudentInfo(StudentInfo studentInfo);
}
